import type { ProductDetailRes } from '@/types/Products_detail'
import { request } from '@/utils/request'

/**
 * 获取商品详情
 */
export const GetProductDetailAPI = (id: string) => {
  return request<ProductDetailRes>('/goods', 'GET', { id })
}
